﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class SimpleShape
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class SimpleShape
   ">
    <meta name="generator" content="docfx 2.56.4.0">
    
    <link rel="shortcut icon" href="../favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="CADability.Shapes.SimpleShape">
  
  
  <h1 id="CADability_Shapes_SimpleShape" data-uid="CADability.Shapes.SimpleShape" class="text-break">Class SimpleShape
  </h1>
  <div class="markdown level0 summary"><p>A simply connected 2d shape. It consists of a <a class="xref" href="CADability.Shapes.Border.html">Border</a> outline and 0 or more holes.
The holes don't overlap (disjunct) and reside totally inside the outline.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">SimpleShape</span></div>
  </div>
  <div classs="implements">
    <h5>Implements</h5>
    <div><span class="xref">System.Runtime.Serialization.ISerializable</span></div>
    <div><a class="xref" href="CADability.IQuadTreeInsertable.html">IQuadTreeInsertable</a></div>
    <div><span class="xref">System.IComparable</span>&lt;<a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a>&gt;</div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CADability.Shapes.html">CADability.Shapes</a></h6>
  <h6><strong>Assembly</strong>: CADability.dll</h6>
  <h5 id="CADability_Shapes_SimpleShape_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Serializable]
public class SimpleShape : ISerializable, IQuadTreeInsertable, IComparable&lt;SimpleShape&gt;</code></pre>
  </div>
  <h3 id="constructors">Constructors
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape__ctor_CADability_Shapes_Border_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.%23ctor(CADability.Shapes.Border)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L46">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape__ctor_" data-uid="CADability.Shapes.SimpleShape.#ctor*"></a>
  <h4 id="CADability_Shapes_SimpleShape__ctor_CADability_Shapes_Border_" data-uid="CADability.Shapes.SimpleShape.#ctor(CADability.Shapes.Border)">SimpleShape(Border)</h4>
  <div class="markdown level1 summary"><p>Constructs a simple shape by specifying the <code data-dev-comment-type="paramref" class="paramref">outline</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public SimpleShape(Border outline)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.Border.html">Border</a></td>
        <td><span class="parametername">outline</span></td>
        <td><p>The outline</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape__ctor_CADability_Shapes_Border_CADability_Shapes_Border___.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.%23ctor(CADability.Shapes.Border%2CCADability.Shapes.Border%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L31">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape__ctor_" data-uid="CADability.Shapes.SimpleShape.#ctor*"></a>
  <h4 id="CADability_Shapes_SimpleShape__ctor_CADability_Shapes_Border_CADability_Shapes_Border___" data-uid="CADability.Shapes.SimpleShape.#ctor(CADability.Shapes.Border,CADability.Shapes.Border[])">SimpleShape(Border, Border[])</h4>
  <div class="markdown level1 summary"><p>Constructs a simple shape by specifying the <code data-dev-comment-type="paramref" class="paramref">outline</code> and any number of <code data-dev-comment-type="paramref" class="paramref">holes</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public SimpleShape(Border outline, params Border[] holes)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.Border.html">Border</a></td>
        <td><span class="parametername">outline</span></td>
        <td><p>The outline</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.Shapes.Border.html">Border</a>[]</td>
        <td><span class="parametername">holes</span></td>
        <td><p>The holes</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.%23ctor(System.Runtime.Serialization.SerializationInfo%2CSystem.Runtime.Serialization.StreamingContext)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L1089">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape__ctor_" data-uid="CADability.Shapes.SimpleShape.#ctor*"></a>
  <h4 id="CADability_Shapes_SimpleShape__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="CADability.Shapes.SimpleShape.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">SimpleShape(SerializationInfo, StreamingContext)</h4>
  <div class="markdown level1 summary"><p>Constructor required by deserialization</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected SimpleShape(SerializationInfo info, StreamingContext context)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Runtime.Serialization.SerializationInfo</span></td>
        <td><span class="parametername">info</span></td>
        <td><p>SerializationInfo</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Runtime.Serialization.StreamingContext</span></td>
        <td><span class="parametername">context</span></td>
        <td><p>StreamingContext</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_Area.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.Area%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L156">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_Area_" data-uid="CADability.Shapes.SimpleShape.Area*"></a>
  <h4 id="CADability_Shapes_SimpleShape_Area" data-uid="CADability.Shapes.SimpleShape.Area">Area</h4>
  <div class="markdown level1 summary"><p>Returns the area of this simple shape.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public double Area { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_Empty.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.Empty%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L171">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_Empty_" data-uid="CADability.Shapes.SimpleShape.Empty*"></a>
  <h4 id="CADability_Shapes_SimpleShape_Empty" data-uid="CADability.Shapes.SimpleShape.Empty">Empty</h4>
  <div class="markdown level1 summary"><p>Returns true, if the Area of this shape is 0.0</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool Empty { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_Holes.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.Holes%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L146">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_Holes_" data-uid="CADability.Shapes.SimpleShape.Holes*"></a>
  <h4 id="CADability_Shapes_SimpleShape_Holes" data-uid="CADability.Shapes.SimpleShape.Holes">Holes</h4>
  <div class="markdown level1 summary"><p>Returns all holes of this simple shape in an array. You may modify the array since it is a clone of the holes array in this object.
But you may not modify the individual holes.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Border[] Holes { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.Border.html">Border</a>[]</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_NumHoles.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.NumHoles%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L125">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_NumHoles_" data-uid="CADability.Shapes.SimpleShape.NumHoles*"></a>
  <h4 id="CADability_Shapes_SimpleShape_NumHoles" data-uid="CADability.Shapes.SimpleShape.NumHoles">NumHoles</h4>
  <div class="markdown level1 summary"><p>Gets the number of holes in this simple shape.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public int NumHoles { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_Outline.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.Outline%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L115">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_Outline_" data-uid="CADability.Shapes.SimpleShape.Outline*"></a>
  <h4 id="CADability_Shapes_SimpleShape_Outline" data-uid="CADability.Shapes.SimpleShape.Outline">Outline</h4>
  <div class="markdown level1 summary"><p>Gets the outline of this simple shape. Do not modify the border because this shape might become invalid.
To obtain a good performance the outline of this simple shape is returned, not a clone.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Border Outline { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.Border.html">Border</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_CalculateSignature.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.CalculateSignature%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L1459">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_CalculateSignature_" data-uid="CADability.Shapes.SimpleShape.CalculateSignature*"></a>
  <h4 id="CADability_Shapes_SimpleShape_CalculateSignature" data-uid="CADability.Shapes.SimpleShape.CalculateSignature">CalculateSignature()</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public CompoundShape.Signature CalculateSignature()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.CompoundShape.Signature.html">CompoundShape.Signature</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_Clip_CADability_Curve2D_ICurve2D_System_Boolean_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.Clip(CADability.Curve2D.ICurve2D%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L1062">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_Clip_" data-uid="CADability.Shapes.SimpleShape.Clip*"></a>
  <h4 id="CADability_Shapes_SimpleShape_Clip_CADability_Curve2D_ICurve2D_System_Boolean_" data-uid="CADability.Shapes.SimpleShape.Clip(CADability.Curve2D.ICurve2D,System.Boolean)">Clip(ICurve2D, Boolean)</h4>
  <div class="markdown level1 summary"><p>Clips the provided curve by this shape. Either the inner parts or the parts outside of this shape are returned.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public double[] Clip(ICurve2D toClip, bool returnInsideParts)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Curve2D.ICurve2D.html">ICurve2D</a></td>
        <td><span class="parametername">toClip</span></td>
        <td><p>Curve to be clipped</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">returnInsideParts</span></td>
        <td><p>true: return inside parts, false: return outside parts</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span>[]</td>
        <td><p>the clipped curves</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_Clone.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.Clone%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L86">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_Clone_" data-uid="CADability.Shapes.SimpleShape.Clone*"></a>
  <h4 id="CADability_Shapes_SimpleShape_Clone" data-uid="CADability.Shapes.SimpleShape.Clone">Clone()</h4>
  <div class="markdown level1 summary"><p>Returns a clone (deep copy) of this simple shape</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public SimpleShape Clone()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a></td>
        <td><p>The clone</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_Contains_CADability_GeoPoint2D_System_Boolean_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.Contains(CADability.GeoPoint2D%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L186">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_Contains_" data-uid="CADability.Shapes.SimpleShape.Contains*"></a>
  <h4 id="CADability_Shapes_SimpleShape_Contains_CADability_GeoPoint2D_System_Boolean_" data-uid="CADability.Shapes.SimpleShape.Contains(CADability.GeoPoint2D,System.Boolean)">Contains(GeoPoint2D, Boolean)</h4>
  <div class="markdown level1 summary"><p>Tests whether the provided point is contained in this simple shape.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool Contains(GeoPoint2D p, bool acceptOnCurve)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint2D.html">GeoPoint2D</a></td>
        <td><span class="parametername">p</span></td>
        <td><p>The point to be examined</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">acceptOnCurve</span></td>
        <td><p>true: accept points on the border as inside points, false: return true only for points totally inside this shape</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>true if the point is contained, false otherwise</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_Expand_System_Double_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.Expand(System.Double)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L320">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_Expand_" data-uid="CADability.Shapes.SimpleShape.Expand*"></a>
  <h4 id="CADability_Shapes_SimpleShape_Expand_System_Double_" data-uid="CADability.Shapes.SimpleShape.Expand(System.Double)">Expand(Double)</h4>
  <div class="markdown level1 summary"><p>Expands this simple shape by the given amount. note that the result is a <a class="xref" href="CADability.Shapes.CompoundShape.html">CompoundShape</a>
which is composed of multiple simple shapes.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public CompoundShape Expand(double d)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">d</span></td>
        <td><p>Amount to expand, if negative <a class="xref" href="CADability.Shapes.SimpleShape.html#CADability_Shapes_SimpleShape_Shrink_System_Double_">Shrink(Double)</a> will be called</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.CompoundShape.html">CompoundShape</a></td>
        <td><p>The resulting shape</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_GetExtent.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.GetExtent%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L1007">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_GetExtent_" data-uid="CADability.Shapes.SimpleShape.GetExtent*"></a>
  <h4 id="CADability_Shapes_SimpleShape_GetExtent" data-uid="CADability.Shapes.SimpleShape.GetExtent">GetExtent()</h4>
  <div class="markdown level1 summary"><p>Returns the extent of this shape, i.e. the size of the horizontally adjusted rectangle that encloses it.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public BoundingRect GetExtent()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.BoundingRect.html">BoundingRect</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_GetModified_CADability_ModOp2D_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.GetModified(CADability.ModOp2D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L977">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_GetModified_" data-uid="CADability.Shapes.SimpleShape.GetModified*"></a>
  <h4 id="CADability_Shapes_SimpleShape_GetModified_CADability_ModOp2D_" data-uid="CADability.Shapes.SimpleShape.GetModified(CADability.ModOp2D)">GetModified(ModOp2D)</h4>
  <div class="markdown level1 summary"><p>Returns a modified shape of this shape. This shape remains unchanged.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public SimpleShape GetModified(ModOp2D m)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.ModOp2D.html">ModOp2D</a></td>
        <td><span class="parametername">m</span></td>
        <td><p>Modification by which this shape is modified</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.GetObjectData(System.Runtime.Serialization.SerializationInfo%2CSystem.Runtime.Serialization.StreamingContext)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L1099">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_GetObjectData_" data-uid="CADability.Shapes.SimpleShape.GetObjectData*"></a>
  <h4 id="CADability_Shapes_SimpleShape_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="CADability.Shapes.SimpleShape.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">GetObjectData(SerializationInfo, StreamingContext)</h4>
  <div class="markdown level1 summary"><p>Implements <span class="xref">System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)</span></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void GetObjectData(SerializationInfo info, StreamingContext context)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Runtime.Serialization.SerializationInfo</span></td>
        <td><span class="parametername">info</span></td>
        <td><p>The <span class="xref">System.Runtime.Serialization.SerializationInfo</span> to populate with data.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Runtime.Serialization.StreamingContext</span></td>
        <td><span class="parametername">context</span></td>
        <td><p>The destination (<span class="xref">System.Runtime.Serialization.StreamingContext</span>) for this serialization.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_GetPosition_CADability_Shapes_CompoundShape_CADability_Shapes_CompoundShape_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.GetPosition(CADability.Shapes.CompoundShape%2CCADability.Shapes.CompoundShape)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L769">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_GetPosition_" data-uid="CADability.Shapes.SimpleShape.GetPosition*"></a>
  <h4 id="CADability_Shapes_SimpleShape_GetPosition_CADability_Shapes_CompoundShape_CADability_Shapes_CompoundShape_" data-uid="CADability.Shapes.SimpleShape.GetPosition(CADability.Shapes.CompoundShape,CADability.Shapes.CompoundShape)">GetPosition(CompoundShape, CompoundShape)</h4>
  <div class="markdown level1 summary"><p>Checks the relative position of two shapes to each other. The order of the parameters is important for the result.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static SimpleShape.Position GetPosition(CompoundShape cs1, CompoundShape cs2)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.CompoundShape.html">CompoundShape</a></td>
        <td><span class="parametername">cs1</span></td>
        <td><p>First shape</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.Shapes.CompoundShape.html">CompoundShape</a></td>
        <td><span class="parametername">cs2</span></td>
        <td><p>Second shape</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.Position.html">SimpleShape.Position</a></td>
        <td><p>The position</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_GetPosition_CADability_Shapes_SimpleShape_CADability_Shapes_SimpleShape_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.GetPosition(CADability.Shapes.SimpleShape%2CCADability.Shapes.SimpleShape)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L779">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_GetPosition_" data-uid="CADability.Shapes.SimpleShape.GetPosition*"></a>
  <h4 id="CADability_Shapes_SimpleShape_GetPosition_CADability_Shapes_SimpleShape_CADability_Shapes_SimpleShape_" data-uid="CADability.Shapes.SimpleShape.GetPosition(CADability.Shapes.SimpleShape,CADability.Shapes.SimpleShape)">GetPosition(SimpleShape, SimpleShape)</h4>
  <div class="markdown level1 summary"><p>Checks the relative position of two shapes to each other. The order of the parameters is important for the result.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static SimpleShape.Position GetPosition(SimpleShape s1, SimpleShape s2)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a></td>
        <td><span class="parametername">s1</span></td>
        <td><p>First shape</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a></td>
        <td><span class="parametername">s2</span></td>
        <td><p>Second shape</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.Position.html">SimpleShape.Position</a></td>
        <td><p>The position</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_GetSingleOutline.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.GetSingleOutline%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L1208">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_GetSingleOutline_" data-uid="CADability.Shapes.SimpleShape.GetSingleOutline*"></a>
  <h4 id="CADability_Shapes_SimpleShape_GetSingleOutline" data-uid="CADability.Shapes.SimpleShape.GetSingleOutline">GetSingleOutline()</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Path2D GetSingleOutline()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Curve2D.Path2D.html">Path2D</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_HitTest_CADability_BoundingRect__.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.HitTest(CADability.BoundingRect%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L1016">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_HitTest_" data-uid="CADability.Shapes.SimpleShape.HitTest*"></a>
  <h4 id="CADability_Shapes_SimpleShape_HitTest_CADability_BoundingRect__" data-uid="CADability.Shapes.SimpleShape.HitTest(CADability.BoundingRect@)">HitTest(ref BoundingRect)</h4>
  <div class="markdown level1 summary"><p>Checks whether this shape and the provided rectangle overlap</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool HitTest(ref BoundingRect Rect)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.BoundingRect.html">BoundingRect</a></td>
        <td><span class="parametername">Rect</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_Hole_System_Int32_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.Hole(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L138">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_Hole_" data-uid="CADability.Shapes.SimpleShape.Hole*"></a>
  <h4 id="CADability_Shapes_SimpleShape_Hole_System_Int32_" data-uid="CADability.Shapes.SimpleShape.Hole(System.Int32)">Hole(Int32)</h4>
  <div class="markdown level1 summary"><p>Gets the hole with the specified index. The original border is returned. Do not modify this or the simple shape might become invalid.
If you need to modify it, make a clone first.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Border Hole(int Index)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">Index</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.Border.html">Border</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_Intersect_CADability_Shapes_SimpleShape_CADability_Shapes_SimpleShape_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.Intersect(CADability.Shapes.SimpleShape%2CCADability.Shapes.SimpleShape)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L372">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_Intersect_" data-uid="CADability.Shapes.SimpleShape.Intersect*"></a>
  <h4 id="CADability_Shapes_SimpleShape_Intersect_CADability_Shapes_SimpleShape_CADability_Shapes_SimpleShape_" data-uid="CADability.Shapes.SimpleShape.Intersect(CADability.Shapes.SimpleShape,CADability.Shapes.SimpleShape)">Intersect(SimpleShape, SimpleShape)</h4>
  <div class="markdown level1 summary"><p>Returns the intersection (common parts, overlapping area) of two simple shapes.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static CompoundShape Intersect(SimpleShape Part1, SimpleShape Part2)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a></td>
        <td><span class="parametername">Part1</span></td>
        <td><p>First shape</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a></td>
        <td><span class="parametername">Part2</span></td>
        <td><p>Second shape</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.CompoundShape.html">CompoundShape</a></td>
        <td><p>The resulting shape (may be empty)</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_Intersect_CADability_Shapes_SimpleShape_CADability_Shapes_SimpleShape_System_Double_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.Intersect(CADability.Shapes.SimpleShape%2CCADability.Shapes.SimpleShape%2CSystem.Double)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L376">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_Intersect_" data-uid="CADability.Shapes.SimpleShape.Intersect*"></a>
  <h4 id="CADability_Shapes_SimpleShape_Intersect_CADability_Shapes_SimpleShape_CADability_Shapes_SimpleShape_System_Double_" data-uid="CADability.Shapes.SimpleShape.Intersect(CADability.Shapes.SimpleShape,CADability.Shapes.SimpleShape,System.Double)">Intersect(SimpleShape, SimpleShape, Double)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static CompoundShape Intersect(SimpleShape Part1, SimpleShape Part2, double precision)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a></td>
        <td><span class="parametername">Part1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a></td>
        <td><span class="parametername">Part2</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">precision</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.CompoundShape.html">CompoundShape</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_isCongruent_CADability_Shapes_SimpleShape_CADability_Shapes_CompoundShape_Signature_CADability_ModOp2D__System_Double_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.isCongruent(CADability.Shapes.SimpleShape%2CCADability.Shapes.CompoundShape.Signature%2CCADability.ModOp2D%40%2CSystem.Double)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L1400">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_isCongruent_" data-uid="CADability.Shapes.SimpleShape.isCongruent*"></a>
  <h4 id="CADability_Shapes_SimpleShape_isCongruent_CADability_Shapes_SimpleShape_CADability_Shapes_CompoundShape_Signature_CADability_ModOp2D__System_Double_" data-uid="CADability.Shapes.SimpleShape.isCongruent(CADability.Shapes.SimpleShape,CADability.Shapes.CompoundShape.Signature,CADability.ModOp2D@,System.Double)">isCongruent(SimpleShape, CompoundShape.Signature, out ModOp2D, Double)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool isCongruent(SimpleShape other, CompoundShape.Signature otherSig, out ModOp2D thisToOther, double precision)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a></td>
        <td><span class="parametername">other</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.Shapes.CompoundShape.Signature.html">CompoundShape.Signature</a></td>
        <td><span class="parametername">otherSig</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.ModOp2D.html">ModOp2D</a></td>
        <td><span class="parametername">thisToOther</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">precision</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_MakeLongHole_CADability_Curve2D_ICurve2D_System_Double_System_Double_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.MakeLongHole(CADability.Curve2D.ICurve2D%2CSystem.Double%2CSystem.Double)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L893">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_MakeLongHole_" data-uid="CADability.Shapes.SimpleShape.MakeLongHole*"></a>
  <h4 id="CADability_Shapes_SimpleShape_MakeLongHole_CADability_Curve2D_ICurve2D_System_Double_System_Double_" data-uid="CADability.Shapes.SimpleShape.MakeLongHole(CADability.Curve2D.ICurve2D,System.Double,System.Double)">MakeLongHole(ICurve2D, Double, Double)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static SimpleShape MakeLongHole(ICurve2D centerLine, double halfWidth, double precision)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Curve2D.ICurve2D.html">ICurve2D</a></td>
        <td><span class="parametername">centerLine</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">halfWidth</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">precision</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_MakePaths_CADability_Plane_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.MakePaths(CADability.Plane)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L1198">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_MakePaths_" data-uid="CADability.Shapes.SimpleShape.MakePaths*"></a>
  <h4 id="CADability_Shapes_SimpleShape_MakePaths_CADability_Plane_" data-uid="CADability.Shapes.SimpleShape.MakePaths(CADability.Plane)">MakePaths(Plane)</h4>
  <div class="markdown level1 summary"><p>Converts the outline and the holes of this shape into <a class="xref" href="CADability.GeoObject.Path.html">Path</a> objects.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Path[] MakePaths(Plane plane)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Plane.html">Plane</a></td>
        <td><span class="parametername">plane</span></td>
        <td><p>Plane in 3D space where the shape is located</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.Path.html">Path</a>[]</td>
        <td><p>The resulting path(s)</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_Project_CADability_Plane_CADability_Plane_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.Project(CADability.Plane%2CCADability.Plane)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L962">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_Project_" data-uid="CADability.Shapes.SimpleShape.Project*"></a>
  <h4 id="CADability_Shapes_SimpleShape_Project_CADability_Plane_CADability_Plane_" data-uid="CADability.Shapes.SimpleShape.Project(CADability.Plane,CADability.Plane)">Project(Plane, Plane)</h4>
  <div class="markdown level1 summary"><p>The 2d-simple shape is assumed to reside in plane &quot;fromPlane&quot;. It will be projected
perpendicular onto the plane &quot;toPlane&quot;. If the planes are perpendicular, the result
will be am empty shape.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public SimpleShape Project(Plane fromPlane, Plane toPlane)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Plane.html">Plane</a></td>
        <td><span class="parametername">fromPlane</span></td>
        <td><p>the containing plane</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.Plane.html">Plane</a></td>
        <td><span class="parametername">toPlane</span></td>
        <td><p>the projection plane</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a></td>
        <td><p>the projected shape</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_Reduce_System_Double_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.Reduce(System.Double)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L1114">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_Reduce_" data-uid="CADability.Shapes.SimpleShape.Reduce*"></a>
  <h4 id="CADability_Shapes_SimpleShape_Reduce_System_Double_" data-uid="CADability.Shapes.SimpleShape.Reduce(System.Double)">Reduce(Double)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Reduce(double precision)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">precision</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_Shrink_System_Double_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.Shrink(System.Double)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L252">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_Shrink_" data-uid="CADability.Shapes.SimpleShape.Shrink*"></a>
  <h4 id="CADability_Shapes_SimpleShape_Shrink_System_Double_" data-uid="CADability.Shapes.SimpleShape.Shrink(System.Double)">Shrink(Double)</h4>
  <div class="markdown level1 summary"><p>Shrinks this simple shape by the given amount. note that the result is a <a class="xref" href="CADability.Shapes.CompoundShape.html">CompoundShape</a>
which is composed of multiple simple shapes.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public CompoundShape Shrink(double d)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">d</span></td>
        <td><p>Amount to shrink, if negative <a class="xref" href="CADability.Shapes.SimpleShape.html#CADability_Shapes_SimpleShape_Expand_System_Double_">Expand(Double)</a> will be called</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.CompoundShape.html">CompoundShape</a></td>
        <td><p>The resulting shape (may be empty)</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_Split_CADability_Shapes_Border_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.Split(CADability.Shapes.Border)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L221">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_Split_" data-uid="CADability.Shapes.SimpleShape.Split*"></a>
  <h4 id="CADability_Shapes_SimpleShape_Split_CADability_Shapes_Border_" data-uid="CADability.Shapes.SimpleShape.Split(CADability.Shapes.Border)">Split(Border)</h4>
  <div class="markdown level1 summary"><p>Returns a CompoundShape consisting of several SimpleShapes that touch each other.
This SimpleShape is cut along the open Border <code data-dev-comment-type="paramref" class="paramref">ToSplitWith</code> into
several subshapes.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public CompoundShape Split(Border ToSplitWith)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.Border.html">Border</a></td>
        <td><span class="parametername">ToSplitWith</span></td>
        <td><p>The curve to cut with (open Border)</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.CompoundShape.html">CompoundShape</a></td>
        <td><p>Splitted shape</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_Subtract_CADability_Shapes_SimpleShape_CADability_Shapes_SimpleShape_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.Subtract(CADability.Shapes.SimpleShape%2CCADability.Shapes.SimpleShape)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L577">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_Subtract_" data-uid="CADability.Shapes.SimpleShape.Subtract*"></a>
  <h4 id="CADability_Shapes_SimpleShape_Subtract_CADability_Shapes_SimpleShape_CADability_Shapes_SimpleShape_" data-uid="CADability.Shapes.SimpleShape.Subtract(CADability.Shapes.SimpleShape,CADability.Shapes.SimpleShape)">Subtract(SimpleShape, SimpleShape)</h4>
  <div class="markdown level1 summary"><p>Returns the subtraction of <code data-dev-comment-type="paramref" class="paramref">Part1</code> minus <code data-dev-comment-type="paramref" class="paramref">Part2</code>, i.e. all parts that belont to Part1
but not to Part2.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static CompoundShape Subtract(SimpleShape Part1, SimpleShape Part2)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a></td>
        <td><span class="parametername">Part1</span></td>
        <td><p>Shape to be subtracted from</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a></td>
        <td><span class="parametername">Part2</span></td>
        <td><p>Shape that is subtracted</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.CompoundShape.html">CompoundShape</a></td>
        <td><p>The resulting shape (may be empty)</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_ThickPolyLine_CADability_Curve2D_Polyline2D_System_Double_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.ThickPolyLine(CADability.Curve2D.Polyline2D%2CSystem.Double)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L59">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_ThickPolyLine_" data-uid="CADability.Shapes.SimpleShape.ThickPolyLine*"></a>
  <h4 id="CADability_Shapes_SimpleShape_ThickPolyLine_CADability_Curve2D_Polyline2D_System_Double_" data-uid="CADability.Shapes.SimpleShape.ThickPolyLine(CADability.Curve2D.Polyline2D,System.Double)">ThickPolyLine(Polyline2D, Double)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static SimpleShape ThickPolyLine(Polyline2D p2d, double radius)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Curve2D.Polyline2D.html">Polyline2D</a></td>
        <td><span class="parametername">p2d</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">radius</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_Unite_CADability_Shapes_SimpleShape_CADability_Shapes_SimpleShape_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.Unite(CADability.Shapes.SimpleShape%2CCADability.Shapes.SimpleShape)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L472">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_Unite_" data-uid="CADability.Shapes.SimpleShape.Unite*"></a>
  <h4 id="CADability_Shapes_SimpleShape_Unite_CADability_Shapes_SimpleShape_CADability_Shapes_SimpleShape_" data-uid="CADability.Shapes.SimpleShape.Unite(CADability.Shapes.SimpleShape,CADability.Shapes.SimpleShape)">Unite(SimpleShape, SimpleShape)</h4>
  <div class="markdown level1 summary"><p>Returns the union of two simple shapes.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static CompoundShape Unite(SimpleShape Part1, SimpleShape Part2)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a></td>
        <td><span class="parametername">Part1</span></td>
        <td><p>First shape</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a></td>
        <td><span class="parametername">Part2</span></td>
        <td><p>Second shape</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.CompoundShape.html">CompoundShape</a></td>
        <td><p>The resulting shape (may be empty)</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="eii">Explicit Interface Implementations
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_CADability_IQuadTreeInsertable_GetExtent.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.CADability%23IQuadTreeInsertable%23GetExtent%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L1251">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_CADability_IQuadTreeInsertable_GetExtent_" data-uid="CADability.Shapes.SimpleShape.CADability#IQuadTreeInsertable#GetExtent*"></a>
  <h4 id="CADability_Shapes_SimpleShape_CADability_IQuadTreeInsertable_GetExtent" data-uid="CADability.Shapes.SimpleShape.CADability#IQuadTreeInsertable#GetExtent">IQuadTreeInsertable.GetExtent()</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">BoundingRect IQuadTreeInsertable.GetExtent()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.BoundingRect.html">BoundingRect</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_CADability_IQuadTreeInsertable_HitTest_CADability_BoundingRect__System_Boolean_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.CADability%23IQuadTreeInsertable%23HitTest(CADability.BoundingRect%40%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L1256">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_CADability_IQuadTreeInsertable_HitTest_" data-uid="CADability.Shapes.SimpleShape.CADability#IQuadTreeInsertable#HitTest*"></a>
  <h4 id="CADability_Shapes_SimpleShape_CADability_IQuadTreeInsertable_HitTest_CADability_BoundingRect__System_Boolean_" data-uid="CADability.Shapes.SimpleShape.CADability#IQuadTreeInsertable#HitTest(CADability.BoundingRect@,System.Boolean)">IQuadTreeInsertable.HitTest(ref BoundingRect, Boolean)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">bool IQuadTreeInsertable.HitTest(ref BoundingRect rect, bool includeControlPoints)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.BoundingRect.html">BoundingRect</a></td>
        <td><span class="parametername">rect</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">includeControlPoints</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_CADability_IQuadTreeInsertable_ReferencedObject.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.CADability%23IQuadTreeInsertable%23ReferencedObject%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L1261">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_CADability_IQuadTreeInsertable_ReferencedObject_" data-uid="CADability.Shapes.SimpleShape.CADability#IQuadTreeInsertable#ReferencedObject*"></a>
  <h4 id="CADability_Shapes_SimpleShape_CADability_IQuadTreeInsertable_ReferencedObject" data-uid="CADability.Shapes.SimpleShape.CADability#IQuadTreeInsertable#ReferencedObject">IQuadTreeInsertable.ReferencedObject</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">object IQuadTreeInsertable.ReferencedObject { get; }</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Object</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape_System_IComparable_CADability_Shapes_SimpleShape__CompareTo_CADability_Shapes_SimpleShape_.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape.System%23IComparable%7BCADability%23Shapes%23SimpleShape%7D%23CompareTo(CADability.Shapes.SimpleShape)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L1279">View Source</a>
  </span>
  <a id="CADability_Shapes_SimpleShape_System_IComparable_CADability_Shapes_SimpleShape__CompareTo_" data-uid="CADability.Shapes.SimpleShape.System#IComparable{CADability#Shapes#SimpleShape}#CompareTo*"></a>
  <h4 id="CADability_Shapes_SimpleShape_System_IComparable_CADability_Shapes_SimpleShape__CompareTo_CADability_Shapes_SimpleShape_" data-uid="CADability.Shapes.SimpleShape.System#IComparable{CADability#Shapes#SimpleShape}#CompareTo(CADability.Shapes.SimpleShape)">IComparable&lt;SimpleShape&gt;.CompareTo(SimpleShape)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">int IComparable&lt;SimpleShape&gt;.CompareTo(SimpleShape other)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Shapes.SimpleShape.html">SimpleShape</a></td>
        <td><span class="parametername">other</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="implements">Implements</h3>
  <div>
      <span class="xref">System.Runtime.Serialization.ISerializable</span>
  </div>
  <div>
      <a class="xref" href="CADability.IQuadTreeInsertable.html">IQuadTreeInsertable</a>
  </div>
  <div>
      <span class="xref">System.IComparable&lt;T&gt;</span>
  </div>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Shapes_SimpleShape.md&amp;value=---%0Auid%3A%20CADability.Shapes.SimpleShape%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Shape.cs/#L20" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>In This Article</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
